package com.competition.reception.mapper;

import com.competition.reception.entity.Module;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.competition.reception.entity.vo.ModuleQueryVo;
import com.competition.reception.entity.vo.ModuleResultVo;
import com.competition.reception.entity.vo.QueryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 投稿信息表 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2021-04-03
 */
public interface ModuleMapper extends BaseMapper<Module> {

    List<ModuleResultVo> selectByConditions(@Param("queryVo") ModuleQueryVo queryVo);

    int getModuleCount(@Param("queryVo") ModuleQueryVo queryVo);
}
